package demon1;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:22954
 * Date:2024-01-18
 * Time:1:40
 */
public class Test1 {
    public static void main(String[] args) {
        MyArrayList<Integer> myArrayList=new MyArrayList<>();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        int value= myArrayList.pos(2);
        System.out.println(value);
        System.out.println(myArrayList);
    }
}
